$width:1200px;
$map: (color1:#3c3c3c, color2:#999999, color3:#35b1ff, color4:#ff5000);
.commnt {
    width: $width;
    background-color: #fff;
    margin: 0 auto;
    margin-top: 15px;
    box-sizing: border-box;
}

.biaoti {
    font-size: 12px;
    color: #999;
    line-height: 60px;
    img {
        width: 70px;
        vertical-align: middle;
        margin-right: 8px;
        padding-bottom: 2px;
    }
}


/*有好货开始 */

.good_list {
    @extend .commnt;
    height: 360px;
    display: grid;
    grid-template-rows: 60px 1fr;
    padding-left: 20px;
    .good_list_top {
        @extend .biaoti;
    }
    .good_list_bottom {
        ul {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            li {
                position: relative;
                div {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 180px;
                    height: 180px;
                    background-color: rgba($color: #000000, $alpha: .1);
                    display: none;
                    z-index: 1;
                }
                &:hover div {
                    display: block;
                    transition: all 10s;
                }
                &:hover p {
                    color: map-get($map, color4)
                }
                a {
                    p {
                        color: map-get($map: $map, $key: color1);
                        line-height: 30px;
                    }
                    span {
                        font-size: 15px;
                        color: map-get($map, color2);
                    }
                    i {
                        margin-top: 20px;
                        color: map-get($map, color3);
                    }
                }
            }
        }
    }
}


/* 有好货结束 */

.ad_one {
    @extend .commnt;
}

.join {
    @extend .commnt;
    height: 540px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
}


/* 每日好店开始 */

.good_shop {
    display: grid;
    grid-template-rows: 60px 1fr;
    margin-left: 20px;
    .good_shop_top {
        @extend .biaoti;
        img {
            padding-bottom: 2px;
        }
    }
    .good_shop_bottom {
        ul {
            display: grid;
            width: 100%;
            height: 100%;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            column-gap: 10px;
            li {
                position: relative;
                &:hover a {
                    color: map-get($map, color4);
                }
                div {
                    position: absolute;
                    top: 37px;
                    left: 0;
                    width: 271px;
                    height: 180px;
                    background-color: rgba($color: #000000, $alpha: .1);
                    display: none;
                }
                &:hover div {
                    display: block;
                }
                a {
                    color: map-get($map: $map, $key: color1);
                    img {
                        margin-top: 13px;
                    }
                }
                &:nth-child(1) {
                    padding-bottom: 27px;
                }
                &:nth-child(2) {
                    padding-bottom: 27px;
                }
            }
        }
    }
}


/* 每日好店结束 */


/* 淘宝直播开始 */

.live {
    display: grid;
    grid-template-rows: 60px 1fr;
    margin-left: 20px;
    .live_top {
        @extend .biaoti;
        img {
            width: 80px;
            height: 17px;
            padding-bottom: 2px;
        }
    }
    .live_bottom {
        ul {
            display: grid;
            width: 100%;
            height: 100%;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            column-gap: 10px;
            li {
                position: relative;
                div {
                    position: absolute;
                    top: 37px;
                    left: 0;
                    width: 271px;
                    height: 180px;
                    background-color: rgba($color: #000000, $alpha: .1);
                    display: none;
                }
                &:hover div {
                    display: block;
                }
                a {
                    color: map-get($map: $map, $key: color1);
                    img {
                        margin-top: 13px;
                    }
                }
                &:nth-child(1) {
                    padding-bottom: 27px;
                }
                &:nth-child(2) {
                    padding-bottom: 27px;
                }
                span {
                    font-size: 12px;
                    color: map-get($map, color2);
                    margin-left: 15px;
                }
                &:hover a {
                    color: map-get($map, color4);
                }
            }
        }
    }
}


/* 淘宝直播结束 */


/* 特色好物开始 */

.goodies {
    @extend .commnt;
    height: 290px;
    display: grid;
    grid-template-columns: 845px 1fr;
    column-gap: 15px;
    .goodies_left {
        display: grid;
        grid-template-rows: 54px 1fr;
        .goodies_left_top {
            color: #AD45Df;
            font-size: 20px;
            line-height: 54px;
            letter-spacing: 2px;
            padding-left: 20px;
            div {
                display: inline-block;
                width: 4px;
                height: 17px;
                background-color: #AD45Df;
            }
        }
        .goodies_left_bottom {
            ul {
                width: 100%;
                height: 100%;
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                li {
                    border: 1px solid #eee;
                    padding-left: 25px;
                    &:nth-child(2) {
                        border-left: 1px solid transparent;
                    }
                    &:nth-child(3) {
                        border-left: 1px solid transparent;
                    }
                    &:nth-child(4) {
                        border-right: none;
                        border-left: 1px solid transparent;
                    }
                    &:hover {
                        border: 1px solid map-get($map, color4);
                    }
                    a {
                        color: map-get($map, color1);
                        line-height: 30px;
                        p {
                            &:hover {
                                color: map-get($map, color4);
                            }
                        }
                        span {
                            display: block;
                            font-size: 13px;
                            color: map-get($map, color2);
                        }
                        img {
                            display: block;
                            width: 150px;
                            height: 150px;
                            margin: 10px 0 0 7px;
                        }
                    }
                }
            }
        }
    }
    .goodies_right {
        box-sizing: border-box;
        img {
            border: 1px solid #fff;
            padding: 20px 10px 20px 10px;
            &:hover {
                border: 1px solid map-get($map, color4);
            }
        }
    }
}


/* 特色好物结束 */


/* 热卖单品开始 */

.selling_item {
    @extend .commnt;
    display: grid;
    height: 350px+438px+170px;
    grid-template-rows: 87px 1fr 173px;
    .selling_top {
        display: grid;
        grid-template-rows: 54px 1fr;
        color: map-get($map, color4);
        font-size: 20px;
        line-height: 54px;
        letter-spacing: 2px;
        padding-left: 20px;
        .remai {
            div {
                display: inline-block;
                width: 4px;
                height: 17px;
                background-color: map-get($map, color4);
            }
        }
        .remainav {
            ul {
                li {
                    float: left;
                    margin: 0 3px;
                    line-height: 8px;
                    &:hover a {
                        color: map-get($map, color4)
                    }
                    a {
                        font-size: 13px;
                        color: map-get($map, color2)
                    }
                }
            }
        }
    }
    .selling_middle {
        ul {
            width: 100%;
            height: 100%;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            grid-template-rows: repeat(2, 1fr);
            li {
                text-align: center;
                border: 1px solid transparent;
                &:hover {
                    border: 1px solid map-get($map, color4);
                }
                a {
                    img {
                        width: 199px;
                        height: 199px;
                        margin-bottom: 80px;
                        margin-top: 20px;
                    }
                    .money {
                        width: 203px;
                        height: 35px;
                        margin: 0 auto;
                        line-height: 35px;
                        i {
                            float: left;
                            display: block;
                            height: 100%;
                            line-height: 35px;
                            font-size: 12px;
                            color: map-get($map, color4);
                            p {
                                display: inline-block;
                                font-size: 18px;
                            }
                        }
                        span {
                            float: right;
                            font-size: 12px;
                            color: map-get($map, color2)
                        }
                    }
                }
            }
        }
    }
    .selling_bottom {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 20px 0;
        text-align: center;
        a {
            img {
                width: 378px;
                height: 134px;
                border: 2px solid transparent;
                &:hover {
                    border: 2px solid map-get($map, color4);
                }
            }
        }
    }
}


/* 猜你喜欢开始 */

.youLike {
    @extend .commnt;
    height: 55px + 335px*4;
    display: grid;
    grid-template-rows: 55px 1fr;
    .youLike_top {
        color: #ff9f00;
        font-size: 20px;
        line-height: 55px;
        letter-spacing: 2px;
        padding-left: 20px;
        div {
            display: inline-block;
            width: 4px;
            height: 17px;
            background-color: #ff9f00;
        }
    }
    .youLike_bottom {
        ul {
            width: 100%;
            height: 100%;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            grid-template-rows: repeat(4, 1fr);
            li {
                position: relative;
                border: 1px solid transparent;
                &:hover {
                    border: 1px solid map-get($map, color4);
                }
                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    .xiangsi {
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        height: 88px;
                        background-color: map-get($map, $key: color4);
                        text-align: center;
                        color: #fff;
                        display: none;
                        .fa-heart-o {
                            display: block;
                            width: 115px;
                            margin: 18px auto 8px;
                            padding-bottom: 12px;
                            border-bottom: 1px solid #fff;
                        }
                    }
                    &:hover .xiangsi {
                        display: block;
                    }
                    img {
                        width: 198px;
                        height: 198px;
                        margin-left: 20px;
                        margin-top: 20px;
                    }
                    p {
                        color: #666;
                        padding: 0 20px;
                        font-size: 14px;
                    }
                    .money {
                        width: 203px;
                        height: 35px;
                        margin: 20px auto 0;
                        line-height: 35px;
                        i {
                            float: left;
                            display: block;
                            height: 100%;
                            line-height: 35px;
                            font-size: 12px;
                            color: map-get($map, color4);
                            p {
                                display: inline-block;
                                font-size: 18px;
                                color: map-get($map, color4);
                                padding: 0;
                            }
                        }
                        span {
                            float: right;
                            font-size: 12px;
                            color: map-get($map, color2)
                        }
                    }
                }
            }
        }
    }
}


/* !猜你喜欢结束 */

.end {
    position: relative;
    width: 1200PX;
    margin: 20px auto 0;
    text-align: center;
    color: #ccccd0;
    &::before {
        position: absolute;
        top: 11px;
        left: 487px;
        content: '';
        display: block;
        width: 70px;
        height: 1px;
        background-color: #ccccd0;
    }
    &::after {
        position: absolute;
        top: 11px;
        right: 487px;
        content: '';
        display: block;
        width: 70px;
        height: 1px;
        background-color: #ccccd0;
    }
}


/* 底部服务模块开始 */

.mod_service {
    width: 1200px;
    height: 220px;
    margin: 0 auto;
    ul {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        li {
            padding: 55px 77px 0 20px;
            div {
                height: 50px;
                line-height: 50px;
                margin-bottom: 5px;
                img {
                    vertical-align: middle;
                    margin-right: 5px;
                }
            }
            a {
                color: map-get($map, $key: color2);
                font-size: 12px;
                margin-right: 8px;
                &:hover {
                    color: map-get($map, $key: color4)
                }
            }
        }
    }
}


/* 底部服务模块结束 */


/* 底部帮助模块开始 */

.mod_help {
    @extend .commnt;
    margin-top: 0;
    height: 70px;
    border-top: 1px solid #ccccd0;
    border-bottom: 1px solid #ccccd0;
    line-height: 26px;
    padding: 6px 60px 0 3px;
    ul {
        li {
            display: inline-block;
            a {
                color: #6c6c6c;
                font-size: 12px;
                &:hover {
                    color: map-get($map, $key: color4)
                }
            }
        }
        span {
            display: inline-block;
            width: 1px;
            height: 10px;
            background-color: #ccc;
            margin: 0 4px;
        }
    }
}


/* 底部帮助模块结束 */


/* 底部版权模块开始 */

.mod_copyright {
    @extend .commnt;
    margin-top: 0;
    ul {
        height: 28px;
        line-height: 28px;
        li {
            display: inline-block;
            margin: 0 2px;
            a {
                color: #6c6c6c;
                font-size: 13px;
                &:hover {
                    color: map-get($map, $key: color4)
                }
            }
            &:nth-child(14) {
                color: map-get($map, $key: color2);
                font-size: 12px;
            }
        }
        span {
            display: inline-block;
            width: 1px;
            height: 10px;
            background-color: #ccc;
            margin: 0 30px 0 7px;
        }
        &:nth-child(2) {
            span {
                margin: 0 7px;
            }
            li {
                &:nth-child(7) {
                    color: map-get($map, $key: color2);
                    font-size: 12px;
                }
            }
        }
        &:nth-child(3) {
            li {
                color: map-get($map, $key: color2);
                font-size: 12px;
            }
            span {
                margin: 0 3px;
            }
        }
        &:nth-child(4) {
            position: relative;
            height: 28px;
            padding-left: 25px;
            li {
                &:nth-child(n+3) {
                    color: map-get($map, $key: color2);
                    font-size: 12px;
                }
                &:nth-child(1) {
                    position: absolute;
                    left: 0;
                    top: -1px;
                    height: 28px;
                    width: 25px;
                    margin: 0;
                    background: url(../images/dibubanquan.jpg) no-repeat -859px 6px;
                }
            }
            span {
                margin: 0 3px;
            }
        }
    }
    .copy_logo {
        width: 1200px;
        height: 80px;
        margin-top: 10px;
        a {
            display: inline-block;
            width: 220px;
            height: 40px;
            margin-right: 35px;
            &:nth-child(1) {
                width: 30px;
                background: url(../images/dibubanquan.jpg) no-repeat;
            }
            &:nth-child(2) {
                width: 30px;
                background: url(../images/dibubanquan.jpg) no-repeat -41px;
            }
            &:nth-child(3) {
                width: 55px;
                background: url(../images/dibubanquan.jpg) no-repeat -80px;
            }
            &:nth-child(4) {
                width: 84px;
                background: url(../images/dibubanquan.jpg) no-repeat -140px;
            }
            &:nth-child(5) {
                width: 220px;
                background: url(../images/dibubanquan.jpg) no-repeat -431px;
            }
            &:nth-child(6) {
                width: 101px;
                background: url(../images/dibubanquan.jpg) no-repeat -654px;
            }
            &:nth-child(7) {
                width: 81px;
                background: url(../images/dibubanquan.jpg) no-repeat -344px;
            }
            &:nth-child(8) {
                width: 98px;
                background: url(../images/dibubanquan.jpg) no-repeat -760px;
            }
            &:nth-child(9) {
                width: 250px;
                background: url(../images/dibubanquan.jpg) no-repeat -883px;
            }
            &:nth-child(10) {
                width: 212px;
                background: url(../images/saohuangdafei.jpg) no-repeat -16px;
            }
        }
    }
}


/* 底部版权模块结束 */